class computer:
    def __init__(self,id,time,color,weight,CPUsize,NC,YP):
        self._id = id
        self._time = time
        self._color = color
        self._weight = weight
        self._CPUsize = CPUsize
        self._NC = NC
        self._YP = YP

    def Play(self,name):
        print(f"这台电脑的主要功能是{name}")

    def BG(self,name):
        print(f"这台电脑的主要功能是{name}")

c = computer("001",100,"黑色",200,"I9","500G","2T")

c.Play("CSGO")
c.BG("功能测试")